  <!--=================排行榜tab================= -->
  <div class="diy_layout_box">
    <h3 class="tit_bg"> 
		<span class="a_tab">
			<a id="show_score" href="javascript:void(0);" onclick="show_score();" class="on">金币</a>
			<a id="show_exp"   href="javascript:void(0);" onclick="show_exp();"   class="">贡献</a>
		</span> <notempty name="title">{$title}</notempty>
	</h3>
    <ul id="order_widget_score" class="diy_a_tab_list" style="display: block;">
	  <volist name="list_score" id="vo">
		<li>
			<span class="R">{$vo['score']}</span>{$i} 
			<a href="{:U('space/View/index',array('uid'=>$vo['uid']))}">{$vo['fullname']}</a>
		</li>
	  </volist>
    </ul>
    <ul style="display: none;" id="order_widget_exp" class="diy_a_tab_list">
      <volist name="list_exp" id="vo">
		<li>
			<span class="R">{$vo['exp']}</span>{$i} 
			<a href="{:U('space/View/index',array('uid'=>$vo['uid']))}">{$vo['fullname']}</a>
	  </volist>
    </ul>
  </div>

<script>
function show_score() {
	$("#show_exp").attr("class","");
	$("#show_score").attr("class","on");
	$('#order_widget_score').show();
	$('#order_widget_exp').hide();
};

function show_exp() {
	$("#show_score").attr("class",""); 
	$("#show_exp").attr("class","on");
	$('#order_widget_score').hide();
	$('#order_widget_exp').show();
};
</script>